package com.mallcloud.mall.product.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

@ApiModel(value = "SpuTagReferenceDTO", description = "spu信息")
@Data
public class SpuTagReferenceDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "spuID")
    private List<Long> spuIds;

    @NotNull(message = "标签id不能为空")
    @ApiModelProperty(value = "标签id")
    private Long tagId;
}
